import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

export default new VueRouter({
	routes: [{
		path: '/index',
		name: 'Index',
		component(resolve) {
			return require(['@comps/paint/Index.vue'], resolve)
		},
	}, {
		path: '/canvas',
		name: 'Canvas',
		component(resolve) {
			return require(['@comps/paint/Canvas.vue'], resolve)
		},
	}],
})